package org.corey.share.db.dao;

import java.util.List;

import org.corey.share.db.entity.CoreyFile;

public interface CoreyFileDao {
	public boolean saveFile(CoreyFile file);
	public CoreyFile getCoreyFileByUrl(Long user,String respository,String serverSideFileName);
	public List<CoreyFile> getCoreyFilesByUser(Long user,String respository);
	public boolean deleteFile(Long id);
	public boolean deleteFile(Long user,String respository,String serverSideFileName);
	public CoreyFile getFileById(Long id);
}
